package com.inphase.myfood.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Food entity. @author MyEclipse Persistence Tools
 */

public class Food implements java.io.Serializable {

	// Fields

	private Long foodId;
	private Foodcategory foodcategory;
	private Dash dash;
	private String foodName;
	private String foodIntro;
	private float foodPrice;
	private Set torders = new HashSet(0);
	private Set pictures = new HashSet(0);

	// Constructors

	/** default constructor */
	public Food() {
	}

	/** minimal constructor */
	public Food(Foodcategory foodcategory, Dash dash) {
		this.foodcategory = foodcategory;
		this.dash = dash;
	}

	/** full constructor */
	public Food(Long foodId, Foodcategory foodcategory, Dash dash,
			String foodName, String foodIntro, float foodPrice, Set torders,
			Set pictures) {
		super();
		this.foodId = foodId;
		this.foodcategory = foodcategory;
		this.dash = dash;
		this.foodName = foodName;
		this.foodIntro = foodIntro;
		this.foodPrice = foodPrice;
		this.torders = torders;
		this.pictures = pictures;
	}

	// Property accessors

	public Long getFoodId() {
		return this.foodId;
	}


	public void setFoodId(Long foodId) {
		this.foodId = foodId;
	}

	public Foodcategory getFoodcategory() {
		return this.foodcategory;
	}

	public void setFoodcategory(Foodcategory foodcategory) {
		this.foodcategory = foodcategory;
	}

	public Dash getDash() {
		return this.dash;
	}

	public void setDash(Dash dash) {
		this.dash = dash;
	}

	public String getFoodName() {
		return this.foodName;
	}

	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}

	public String getFoodIntro() {
		return this.foodIntro;
	}

	public void setFoodIntro(String foodIntro) {
		this.foodIntro = foodIntro;
	}

	public Set getTorders() {
		return this.torders;
	}

	public void setTorders(Set torders) {
		this.torders = torders;
	}

	public Set getPictures() {
		return this.pictures;
	}

	public void setPictures(Set pictures) {
		this.pictures = pictures;
	}

	public float getFoodPrice() {
		return foodPrice;
	}

	public void setFoodPrice(float foodPrice) {
		this.foodPrice = foodPrice;
	}

}